<template>
  <component :is="useMainStore().layoutConfig.layoutMode"></component>
</template>

<script setup lang="ts">
import useMainStore from '@/stores/main/main'
import Default from '@/layout/container/default.vue'
import Streamline from '@/layout/container/streamline.vue'
</script>
<!-- 只有在 components 选项中的组件可以被动态组件使用-->
<script lang="ts">
export default {
  components: { Default, Streamline }
}
</script>
<style lang="less" scoped></style>
